<include file="Public:header" />
<load href="__JS__/upload/uploadify.css" />
<load href="__JS__/swfobject.js" />
<script type="text/javascript" src="__JS__/jquery.uploadify.v2.1.4.min.js"></script> 
<div class="content">
<!-----------------------------------------内容开始--------------------------------------------------->
<div class="infoBox">
<form name="form" action="{:U('doedituser')}" method="post" onsubmit="return checkform();">
<input type="hidden" name="id" value="{$id}" />
<table width="100%" border="0" cellpadding="0" cellspacing="0" id="basic">
<tr>
<td width="18%" class="infoBoxTd">昵称：</td>
<td colspan="2"><input type="text" name="nicheng" value="{$nicheng}"></td>
</tr>
<tr>
<td width="18%" class="infoBoxTd">姓名：</td>
<td colspan="2"><input type="text" name="name" value="{$name}"></td>
</tr>
<tr>
<td width="18%" class="infoBoxTd">电话：</td>
<td colspan="2"><input type="text" name="tel" value="{$tel}"></td>
</tr>
<tr>
<td width="18%" class="infoBoxTd">邮箱：</td>
<td colspan="2"><input type="text" name="email" value="{$email}"></td>
</tr>
<tr>
<td width="11%" class="infoBoxTd">所属用户组：</td>
<td colspan="2">
	<select name="groupid">
		<volist name="group_all" id="group_all">
		<option value="{$group_all.id}" <eq name="group_all.id" value="$groupid">selected</eq>>{$group_all.name}</option>
		</volist>
	</select>
</td>
</tr>
<tr>
	<td class="infoBoxTd">头像：</td>
	<td colspan="2">
		<img id="touxiang" src="<neq name='touxiang' value=''>{$touxiang}<else/>__PUBLIC__/images/nopic.gif</neq>" width="120" height="180" style="float:left;margin-right:20px;" />
		<div class="upimg-box">
			<div id="fileQueue"></div>
			<input id="file_upload_touxiang" type="file" /><input name="touxiang" type="hidden" value="{$touxiang}" />
		</div>
		<div class="tj_xiangsu">
			推荐像素：240px * 360px
		</div>
	</td>
</tr>
<script>
//图片上传
$("#file_upload_touxiang").uploadify({
		'uploader'       : '__JS__/swf/uploadify.swf',
		'script'         : '__JS__/upload/uploadifywushuiyinsuolue.php',
		'cancelImg'      : '__JS__/upload/cancel.png',
		'folder'         : 'data/touxiang_img',
		'queueID'        : 'fileQueue',
		'sizeLimit'      :	500 * 1024,
		'fileExt'        : '*.jpg;*.gif;*.png;', //允许文件上传类型,和fileDesc一起使用.
		'fileDesc'       : '*.jpg;*.gif;*.png;',  //选择文件对话框中的提示文本.
		'auto'           : true,
		'multi'          : false,	
		'onComplete':function(event,queueId,fileObj,response,data){
			$('input[name="touxiang"]').val(response);
			$('#touxiang').attr('src', response);
		}
});

</script>

<tr>
	<td width="18%" class="infoBoxTd">艺名：</td>
	<td colspan="2"><input type="text" name="yiming" value="{$info.yiming}"></td>
</tr>

<tr>
	<td width="18%" class="infoBoxTd">性别：</td>
	<td colspan="2"><input type="text" name="sex" value="{$info.sex}"></td>
</tr>

<tr>
	<td width="18%" class="infoBoxTd">出生年月：</td>
	<td colspan="2">
		<select name="year">
			<option value="2001">2001</option>
			<option value="2002">2002</option>
			<option value="2003">2003</option>
			<option value="2004">2004</option>
			<option value="2005">2005</option>
			<option value="2006">2006</option>
			<option value="2007">2007</option>
			<option value="2008">2008</option>
			<option value="2009">2009</option>
			<option value="2010">2010</option>
			<option value="2011">2011</option>
		</select>
		年
		<select name="month">
			<option value="1">1</option>
			<option value="2">2</option>
			<option value="3">3</option>
			<option value="4">4</option>
			<option value="5">5</option>
			<option value="6">6</option>
			<option value="7">7</option>
			<option value="8">8</option>
			<option value="9">9</option>
			<option value="10">10</option>
			<option value="11">11</option>
			<option value="12">12</option>
		</select>
		月
		<select name="day">
			<option value="1">1</option>
			<option value="2">2</option>
			<option value="3">3</option>
			<option value="4">4</option>
			<option value="5">5</option>
			<option value="6">6</option>
			<option value="7">7</option>
			<option value="8">8</option>
			<option value="9">9</option>
			<option value="10">10</option>
			<option value="11">11</option>
			<option value="12">12</option>
			<option value="13">13</option>
			<option value="14">14</option>
			<option value="15">15</option>
			<option value="16">16</option>
			<option value="17">17</option>
			<option value="18">18</option>
			<option value="19">19</option>
			<option value="20">20</option>
			<option value="21">21</option>
			<option value="22">22</option>
			<option value="23">23</option>
			<option value="24">24</option>
			<option value="25">25</option>
			<option value="26">26</option>
			<option value="27">27</option>
			<option value="28">28</option>
			<option value="29">29</option>
			<option value="30">30</option>
			<option value="31">31</option>
		</select>
		日
	</td>
</tr>

<tr>
	<td width="18%" class="infoBoxTd">籍贯：</td>
	<td colspan="2"><input type="text" name="home" value="{$info.home}"></td>
</tr>

<tr>
	<td width="18%" class="infoBoxTd">民族：</td>
	<td colspan="2"><input type="text" name="minzu" value="{$info.minzu}"></td>
</tr>

<tr>
	<td width="18%" class="infoBoxTd">身高：</td>
	<td colspan="2"><input type="text" name="shengao" value="{$info.shengao}"> cm</td>
</tr>

<tr>
	<td width="18%" class="infoBoxTd">体重：</td>
	<td colspan="2"><input type="text" name="tizhong" value="{$info.tizhong}"> kg</td>
</tr>

<tr>
	<td width="18%" class="infoBoxTd">星座：</td>
	<td colspan="2"><input type="text" name="xingzuo" value="{$info.xingzuo}"></td>
</tr>

<tr>
	<td width="18%" class="infoBoxTd">语言：</td>
	<td colspan="2"><input type="text" name="yuyan" value="{$info.yuyan}"></td>
</tr>

<tr>
	<td width="18%" class="infoBoxTd">现居住地：</td>
	<td colspan="2"><input type="text" name="area" value="{$info.area}"></td>
</tr>

<tr>
	<td width="18%" class="infoBoxTd">固话：</td>
	<td colspan="2"><input type="text" name="guhua" value="{$info.guhua}"></td>
</tr>

<tr>
	<td width="18%" class="infoBoxTd">特长爱好：</td>
	<td colspan="2"><input type="text" name="xingqu" value="{$info.xingqu}"></td>
</tr>

<tr>
	<td width="18%" class="infoBoxTd">培训经历：</td>
	<td colspan="2"><input type="text" name="peixun" value="{$info.peixun}"></td>
</tr>

<tr>
	<td width="18%" class="infoBoxTd">主播宣言：</td>
	<td colspan="2"><input type="text" name="jianjie" value="{$info.jianjie}"></td>
</tr>

<tr>
<td width="18%" class="infoBoxTd">密码：</td>
<td colspan="2"><input type="password" name="pass">&nbsp;留空默认为不修改</td>
</tr>
<tr>
<td width="18%" class="infoBoxTd">重复密码：</td>
<td colspan="2"><input type="password" name="pass2"></td>
</tr>

</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="infoBoxTd">&nbsp;</td>
<td align="left"><input type="submit" name="Button1" value="保存" class="formInput01" /></td>
</tr>
</table>
</form>
</div>
<!-----------------------------------------内容结束--------------------------------------------------->
</div>
<include file="Public:footer" />
